
====================================================================================
PROJECT-FANTASIA - New Effects Examples
====================================================================================
Modification for GTA San Andreas with Cleo Library
Features: New Effects for mission coding and cleo scripts
====================================================================================

PF_Examples includes example scripts to show the effect particles
and requires sannybuilder to compile the source texts to cleo scripts

Important:
You must consider if the particle have Playmode 0 or Playmode 1, 2
to decide which method is required for the script


Playmode_0 is shown for a moment, temporary, can run in a loop for some cases
use it in connection with this opcode:
064F: make_temp_particle_visible_and_remove_references 0@

--

Playmode 1 or 2 are durable till they will be removed (delete_particle)
can cause bugs and trails by speed if attached to vehicle
show it in connection with this opcode:
064C: make_particle 7@ visible 

and remove it at any time with this opcode:
0650: delete_particle 7@


--

View the 2 methods in the files Playmode_0.txt and Playmode_1_or_2

the NewEffects_Playmode_x.txt include the names of the new particles

--

Playmode_0.txt - simple testscript to show a temporary effect infront of player_actor by keypress

Playmode_1_or_2.txt - simple testscript to show a durable effect infront of player_actor by keypress

NewEffects_Playmode_0.txt - Testscript to show all new temporary effects infront of player_actor by keypress   = List of all new effects-playmode 0 

NewEffects_Playmode_1_or_2.txt  - Testscript to show all new durable effects infront of player_actor by keypress  = List of all new effects-playmode 1/2

throwObj__TLaser.txt template to throw an object with attached TLaser effect

throwObj_FIREBALL.txt template to throw an object with attached FIREBALL effect with collisionscheck and explosion


for keypress look below for Virtual Key Codes


====================================================================================



how to know which playmode the effect have?

the playmode is defined in models\effects.fxp
editable with simple text editor

every effect is listed there with such an titel:

FILENAME: X:\SA\FxTools\Data\effects\gta_pc\systems/script/fireworks1.fxs

and 5 lines below:
PLAYMODE: 0




====================================================================================
Virtual Key Codes for opcode 0AB0:

if
0AB0:   key_pressed 1//-----------------------press left mouse button
004D: jump_if_false @

1  	left mouse button
2 	right mouse button
3 	control-break processing
4 	middle mouse button
8 	backspace key
9 	tab key
12 	clear key
13 	enter key
16 	shift key
17 	ctrl key
18 	alt key
19 	pause key
20 	caps lock key
27 	esc key
32 	spacebar
33 	page up key
34 	page down key
35 	end key
36 	home key
37 	left arrow key
38 	up arrow key
39 	right arrow key
40 	down arrow key
41 	select key
42 	print key
43 	execute key
44 	print screen key
45 	ins key
46 	del key
47 	help key
48 	0 key
49 	1 key
50 	2 key
51 	3 key
52 	4 key
53 	5 key
54 	6 key
55 	7 key
56 	8 key
57 	9 key
65 	a key
66 	b key
67 	c key
68 	d key
69 	e key
70 	f key
71 	g key
72 	h key
73 	i key
74 	j key
75 	k key
76 	l key
77 	m key
78 	n key
79 	o key
80 	p key
81 	q key
82 	r key
83 	s key
84 	t key
85 	u key
86 	v key
87 	w key
88 	x key
89 	y key
90 	z key
96 	numeric keypad 0 key
97 	numeric keypad 1 key
98 	numeric keypad 2 key
99 	numeric keypad 3 key
100 	numeric keypad 4 key
101 	numeric keypad 5 key
102 	numeric keypad 6 key
103 	numeric keypad 7 key
104 	numeric keypad 8 key
105 	numeric keypad 9 key
106 	multiply key
107 	add key
108 	separator key
109 	subtract key
110 	decimal key
111 	divide key
112 	f1 key
113 	f2 key
114 	f3 key
115 	f4 key
116 	f5 key
117 	f6 key
118 	f7 key
119 	f8 key
120 	f9 key
121 	f10 key
122 	f11 key
123 	f12 key
144 	num lock key
145 	scroll lock key
160 	left shift key
161 	right shift key
162 	left control key
163 	right control key



